package com.aluka.nirvana.framework.core.configuration;

import jdk.nashorn.internal.objects.annotations.Setter;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.service.ApiInfo;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Swagger 配置类
 * @author gongli
 * @since 2019/12/27
 */
@ConfigurationProperties(prefix = "nirvana.swagger")
@Data
public class SwaggerConfiguration {

	private String basePackage = "cn";

	private String title = "未知";

	private String description = "未知";

	private String version = "V1.0";

}
